<!DOCTYPE html>
<html lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>gray_closing_shape [HALCON算子参考手册]</title>
<style type="text/css">
      body {
    color: #000000;
    background-color: #ffffff;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.body_main {
    margin-left: 35px;
    margin-right: 35px;
}

@media screen and (min-width:992px) {

    .body_main {
        margin-left: 10%;
        margin-right: 10%;
    }

    table.toctable {
        width: 80%
    }
}

@media screen and (min-width:1400px) {

    .body_main {
        margin-left: 15%;
        margin-right: 15%;
    }

    table.toctable {
        width: 70%
    }
}

body>div ul ul {
    margin-left: inherit;
}

a:link {
    color: #0044cc;
}

a:link,
a:visited {
    text-decoration: none;
}

a:link:hover,
a:visited:hover {
    text-decoration: underline;
}

th {
    text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-rendering: optimizeLegibility;
    color: #666666;
}

code {
    font-family: monospace,monospace;
}

h1 a.halconoperator {
    font-family: Arial, Helvetica, sans-serif;
    color: #666666;
}

h2 a.halconoperator {
    font-family: Arial, Helvetica, sans-serif;
    color: #666666;
}

hr {
    border: 0;
    border-top: solid 1px #f28d26;
}

.pre {
    display: block;
    padding-bottom: 1ex;
    font-family: monospace;
    white-space: pre;
}

pre {
    font-family: monospace, monospace;
    padding: 1ex;
    white-space: pre-wrap;
}

.toc {
    font-size: 80%;
    border-top: 1px dashed #f28d26;
    border-bottom: 1px dashed #f28d26;
    padding-top: 5px;
    padding-bottom: 5px;
}

.inv {
    margin: 0;
    border: 0;
    padding: 0;
}

.banner {
    color: #666666;
    padding-left: 1em;
}

.logo {
    background-color: white;
}

.keyboard {
    font-size: 80%;
    padding-left: 3px;
    padding-right: 3px;
    border-radius: 5px;
    border-width: 1px;
    border-style: solid;
    border-color: #f28d26;
    background-color: #f3f3f3;
}

.warning {
    margin-top: 2ex;
    margin-bottom: 1ex;
    padding: 10px;
    text-align: center;
    border: 1px solid;
    color: #bb0000;
    background-color: #fff7f7
}

.imprint {
    margin-top: 1ex;
    font-size: 80%;
    color: #666666;
}

.imprinthead {
    font-weight: bolder;
    color: #666666;
}

.indexlink {
    text-align: right;
    padding-bottom: 5px;
}

.postscript {
    margin-top: 2ex;
    font-size: 80%;
    color: #666666
}

.evenrow {
    background-color: #e7e7ef;
    vertical-align: top;
}

.oddrow {
    background-color: #f7f7ff;
    vertical-align: top;
}

.headrow {
    background-color: #97979f;
    color: #ffffff;
    vertical-align: top;
}

.logorow {
    vertical-align: top;
}

.error {
    color: red;
}

.var {
    font-style: italic
}

.halconoperator {
    font-family: monospace, monospace;
}

span.operator {
    font-family: monospace, monospace;
}

span.procedure {
    font-family: monospace, monospace;
}

span.operation {
    font-family: monospace, monospace;
}

span.feature {
    font-family: Arial, Helvetica, Homerton, sans-serif;
}

ul {
    padding-left: 1.2em;
}

li.dot {
    list-style-type: square;
    color: #f28d26;
}

.breadcrumb {
    font-size: 80%;
    color: white;
    background-color: #062d64;
    margin-bottom: 20px;
    padding-left: 35px;
    padding-right: 35px;
    padding-bottom: 15px;
}

.webbar {
    font-size: 80%;
    background-color: #dddddd;
    margin-top: 0px;
    margin-left: -35px;
    margin-right: -35px;
    margin-bottom: 0px;
    padding-top: 5px;
    padding-left: 35px;
    padding-right: 35px;
    padding-bottom: 5px;
}

.footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-top: 1px dashed #f28d26;
    font-size: 80%;
    color: #666666;
    padding-bottom: 8px;
}

.footer .socialmedia a {
    padding-left: 7px;
}

.socialmedia {
    padding-top: 10px;
}

.copyright {
    margin-top: 19px;
}

.breadcrumb a {
    color: #ffffff;
    border-bottom: 1px solid white;
}

.breadcrumb a:link:hover,
.breadcrumb a:visited:hover {
    text-decoration: none;
    border-bottom: none;
}

.heading {
    margin-top: 1ex;
    font-size: 110%;
    font-weight: bold;
    color: #666666;
}

.text {
    color: black;
}

.example {
    font-size: 80%;
    background-color: #f3f3f3;
    border: 1px dashed #666666;
    padding: 10px;
}

.displaymath {
    display: block;
    text-align: center;
    margin-top: 1ex;
    margin-bottom: 1ex;
}

.title {
    float: left;
    padding-top: 3px;
    padding-bottom: 3px;
}

.signnote {
    font-family: Arial, Helvetica, Homerton, sans-serif;
    font-size: 80%;
    color: #666666;
    font-weight: lighter;
    font-style: italic
}

.par {
    margin-bottom: 1.5em;
}

.parhead {
    text-align: right;
}

.parname {
    float: left;
}

.pardesc {
    font-size: 85%;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: 2em;
}

.parcat {
    color: #666;
    font-weight: bold;
}

*[data-if=cpp],
*[data-if=c],
*[data-if=dotnet],
*[data-if=com],
*[data-if=python] {
    display: none;
}

.tabbar {
    text-align: right;
    border-bottom: 1px solid #f28d26;
    margin-bottom: 0.5em;
}

ul.tabs {
    padding-top: 3px;
    padding-bottom: 3px;
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 80%
}

ul.tabs li {
    padding-top: 3px;
    padding-bottom: 3px;
    display: inline;
    overflow: hidden;
    list-style-type: none;
    margin: 0;
    margin-left: 8px;
    border-top: 1px solid #666;
    border-left: 1px solid #666;
    border-right: 1px solid #666;
}

ul.tabs li.active {
    border-left: 1px solid #f28d26;
    border-right: 1px solid #f28d26;
    border-top: 1px solid #f28d26;
    border-bottom: 1px solid #fff;
}

ul.tabs li.inactive {
    background-color: #eee;
}

ul.tabs li a {
    padding-left: 5px;
    padding-right: 5px;
    color: #666;
}

ul.tabs li a:link:hover {
    text-decoration: none;
}

ul.tabs li.inactive a {
    color: #666;
}

ul.tabs li.active a {
    color: black;
}

dl.generic dd {
    margin-bottom: 1em;
}

.pari {
    color: olive;
}

.paro {
    color: maroon;
}

.comment {
    font-size: 80%;
    color: green;
    white-space: nowrap;
}

table.grid {
    border-collapse: collapse;
}

table.grid td {
    padding: 5px;
    border: 1px solid;
}

table.layout {
    border: 0px;
}

table.layout td {
    padding: 5px;
}

table.table {
    border-collapse: collapse;
}

table.table td {
    padding: 5px;
    border-left: 0px;
    border-right: 0px;
}

table.table tr:last-child {
    border-bottom: 1px solid;
}

table.table th {
    padding: 5px;
    border-top: 1px solid;
    border-bottom: 1px solid;
    border-left: 0px;
    border-right: 0px;
}

.details_summary {
    cursor: pointer;
}

table.toctable {
    width: 100%;
}

table.toctable col:first-child {
    width: 20%;
}

table.toctable col:nth-last-child(2) {
    width: 8%;
}

table.altcolored tr:nth-child(even) {
    background-color: #f3f3f3;
}

    </style>
<!--OP_REF_STYLE_END-->
<script>
    <!--
var active_lang='hdevelop';function switchVisibility(obj,active_lang,new_lang)
{var display_style='inline';
for(var i=0;i<obj.length;i++)
{if(obj.item(i).getAttribute('data-if')==new_lang)
{obj.item(i).style.display=display_style;}
if(obj.item(i).getAttribute('data-if')==active_lang)
{obj.item(i).style.display='none';}}
return;}
function toggleLanguage(new_lang,initial)
{if(active_lang!=new_lang)
{var lis=document.getElementsByTagName('li');for(var i=0;i<lis.length;i++)
{if(lis.item(i).id=='syn-'+new_lang)
{lis.item(i).className='active';}
else
{lis.item(i).className='inactive';}}
var divs=document.getElementsByTagName('div');var spans=document.getElementsByTagName('span');switchVisibility(divs,active_lang,new_lang);switchVisibility(spans,active_lang,new_lang);if(!initial)
{setCookie("halcon_reference_language",new_lang,null,null);}
active_lang=new_lang;}
return;}
function setCookie(name,value,domain,exp_offset,path,secure)
{localStorage.setItem(name,value);}
function getCookie(name)
{return localStorage.getItem(name);}
function initialize()
{var qs=location.href.split('?')[1];var qs_lang_raw=location.href.split('interface=')[1];var qs_lang;if(qs_lang_raw)
{qs_lang=qs_lang_raw.split('#')[0];}
var cookie_lang=getCookie("halcon_reference_language");var new_lang;if((qs_lang=="hdevelop")||(qs_lang=="dotnet")||(qs_lang=="python")||(qs_lang=="cpp")||(qs_lang=="c"))
{new_lang=qs_lang;setCookie("halcon_reference_language",new_lang,null,null);}
else if((cookie_lang=="hdevelop")||(cookie_lang=="dotnet")||(cookie_lang=="python")||(cookie_lang=="cpp")||(cookie_lang=="c"))
{new_lang=cookie_lang;}
else
{new_lang="hdevelop";}
toggleLanguage(new_lang,1);return;}
-->

  </script>
</head>
<body onload="initialize();">
<div class="breadcrumb">
<br class="inv"><a href="index.html">目录</a> / <a href="toc_morphology.html">形态学</a> / <a href="toc_morphology_grayvalues.html">Gray Values</a><br class="inv">
</div>
<div class="body_main">
<div class="tabbar"><ul class="tabs">
<li id="syn-hdevelop" class="active"><a href="javascript:void(0);" onclick="toggleLanguage('hdevelop')" onfocus="blur()">HDevelop</a></li>
<li id="syn-dotnet" class="inactive"><a href="javascript:void(0);" onclick="toggleLanguage('dotnet')" onfocus="blur()">.NET</a></li>
<li id="syn-python" class="inactive"><a href="javascript:void(0);" onclick="toggleLanguage('python')" onfocus="blur()">Python</a></li>
<li id="syn-cpp" class="inactive"><a href="javascript:void(0);" onclick="toggleLanguage('cpp')" onfocus="blur()">C++</a></li>
<li id="syn-c" class="inactive"><a href="javascript:void(0);" onclick="toggleLanguage('c')" onfocus="blur()">C</a></li>
</ul></div>
<div class="indexlink">
<a href="index_classes.html"><span data-if="dotnet" style="display:none;">类别</span><span data-if="cpp" style="display:none;">类别</span></a><span data-if="dotnet" style="display:none;"> | </span><span data-if="cpp" style="display:none;"> | </span><a href="index_by_name.html">算子列表</a>
</div>
<!--OP_REF_HEADER_END-->
<h1 id="sec_name">
<span data-if="hdevelop" style="display:inline;">gray_closing_shape</span><span data-if="c" style="display:none;">gray_closing_shape</span><span data-if="cpp" style="display:none;">GrayClosingShape</span><span data-if="dotnet" style="display:none;">GrayClosingShape</span><span data-if="python" style="display:none;">gray_closing_shape</span> (算子名称)</h1>
<h2>名称</h2>
<p><code><span data-if="hdevelop" style="display:inline;">gray_closing_shape</span><span data-if="c" style="display:none;">gray_closing_shape</span><span data-if="cpp" style="display:none;">GrayClosingShape</span><span data-if="dotnet" style="display:none;">GrayClosingShape</span><span data-if="python" style="display:none;">gray_closing_shape</span></code> — Perform a gray value closing with a selected mask.</p>
<h2 id="sec_synopsis">参数签名</h2>
<div data-if="hdevelop" style="display:inline;">
<p>
<code><b>gray_closing_shape</b>(<a href="#Image"><i>Image</i></a> : <a href="#ImageClosing"><i>ImageClosing</i></a> : <a href="#MaskHeight"><i>MaskHeight</i></a>, <a href="#MaskWidth"><i>MaskWidth</i></a>, <a href="#MaskShape"><i>MaskShape</i></a> : )</code></p>
</div>
<div data-if="c" style="display:none;">
<p>
<code>Herror <b>gray_closing_shape</b>(const Hobject <a href="#Image"><i>Image</i></a>, Hobject* <a href="#ImageClosing"><i>ImageClosing</i></a>, double <a href="#MaskHeight"><i>MaskHeight</i></a>, double <a href="#MaskWidth"><i>MaskWidth</i></a>, const char* <a href="#MaskShape"><i>MaskShape</i></a>)</code></p>
<p>
<code>Herror <b>T_gray_closing_shape</b>(const Hobject <a href="#Image"><i>Image</i></a>, Hobject* <a href="#ImageClosing"><i>ImageClosing</i></a>, const Htuple <a href="#MaskHeight"><i>MaskHeight</i></a>, const Htuple <a href="#MaskWidth"><i>MaskWidth</i></a>, const Htuple <a href="#MaskShape"><i>MaskShape</i></a>)</code></p>
</div>
<div data-if="cpp" style="display:none;">
<p>
<code>void <b>GrayClosingShape</b>(const HObject&amp; <a href="#Image"><i>Image</i></a>, HObject* <a href="#ImageClosing"><i>ImageClosing</i></a>, const HTuple&amp; <a href="#MaskHeight"><i>MaskHeight</i></a>, const HTuple&amp; <a href="#MaskWidth"><i>MaskWidth</i></a>, const HTuple&amp; <a href="#MaskShape"><i>MaskShape</i></a>)</code></p>
<p>
<code><a href="HImage.html">HImage</a> <a href="HImage.html">HImage</a>::<b>GrayClosingShape</b>(const HTuple&amp; <a href="#MaskHeight"><i>MaskHeight</i></a>, const HTuple&amp; <a href="#MaskWidth"><i>MaskWidth</i></a>, const HString&amp; <a href="#MaskShape"><i>MaskShape</i></a>) const</code></p>
<p>
<code><a href="HImage.html">HImage</a> <a href="HImage.html">HImage</a>::<b>GrayClosingShape</b>(double <a href="#MaskHeight"><i>MaskHeight</i></a>, double <a href="#MaskWidth"><i>MaskWidth</i></a>, const HString&amp; <a href="#MaskShape"><i>MaskShape</i></a>) const</code></p>
<p>
<code><a href="HImage.html">HImage</a> <a href="HImage.html">HImage</a>::<b>GrayClosingShape</b>(double <a href="#MaskHeight"><i>MaskHeight</i></a>, double <a href="#MaskWidth"><i>MaskWidth</i></a>, const char* <a href="#MaskShape"><i>MaskShape</i></a>) const</code></p>
<p>
<code><a href="HImage.html">HImage</a> <a href="HImage.html">HImage</a>::<b>GrayClosingShape</b>(double <a href="#MaskHeight"><i>MaskHeight</i></a>, double <a href="#MaskWidth"><i>MaskWidth</i></a>, const wchar_t* <a href="#MaskShape"><i>MaskShape</i></a>) const  <span class="signnote">
            (
            Windows only)
          </span></code></p>
</div>
<div data-if="com" style="display:none;"></div>
<div data-if="dotnet" style="display:none;">
<p>
<code>static void <a href="HOperatorSet.html">HOperatorSet</a>.<b>GrayClosingShape</b>(<a href="HObject.html">HObject</a> <a href="#Image"><i>image</i></a>, out <a href="HObject.html">HObject</a> <a href="#ImageClosing"><i>imageClosing</i></a>, <a href="HTuple.html">HTuple</a> <a href="#MaskHeight"><i>maskHeight</i></a>, <a href="HTuple.html">HTuple</a> <a href="#MaskWidth"><i>maskWidth</i></a>, <a href="HTuple.html">HTuple</a> <a href="#MaskShape"><i>maskShape</i></a>)</code></p>
<p>
<code><a href="HImage.html">HImage</a> <a href="HImage.html">HImage</a>.<b>GrayClosingShape</b>(<a href="HTuple.html">HTuple</a> <a href="#MaskHeight"><i>maskHeight</i></a>, <a href="HTuple.html">HTuple</a> <a href="#MaskWidth"><i>maskWidth</i></a>, string <a href="#MaskShape"><i>maskShape</i></a>)</code></p>
<p>
<code><a href="HImage.html">HImage</a> <a href="HImage.html">HImage</a>.<b>GrayClosingShape</b>(double <a href="#MaskHeight"><i>maskHeight</i></a>, double <a href="#MaskWidth"><i>maskWidth</i></a>, string <a href="#MaskShape"><i>maskShape</i></a>)</code></p>
</div>
<div data-if="python" style="display:none;">
<p>
<code>def <b>gray_closing_shape</b>(<a href="#Image"><i>image</i></a>: HObject, <a href="#MaskHeight"><i>mask_height</i></a>: Union[int, float], <a href="#MaskWidth"><i>mask_width</i></a>: Union[int, float], <a href="#MaskShape"><i>mask_shape</i></a>: str) -&gt; HObject</code></p>
</div>
<h2 id="sec_description">描述</h2>
<p><code><span data-if="hdevelop" style="display:inline">gray_closing_shape</span><span data-if="c" style="display:none">gray_closing_shape</span><span data-if="cpp" style="display:none">GrayClosingShape</span><span data-if="com" style="display:none">GrayClosingShape</span><span data-if="dotnet" style="display:none">GrayClosingShape</span><span data-if="python" style="display:none">gray_closing_shape</span></code> applies a gray value closing to the input image
<a href="#Image"><i><code><span data-if="hdevelop" style="display:inline">Image</span><span data-if="c" style="display:none">Image</span><span data-if="cpp" style="display:none">Image</span><span data-if="com" style="display:none">Image</span><span data-if="dotnet" style="display:none">image</span><span data-if="python" style="display:none">image</span></code></i></a> with the structuring element of shape <a href="#MaskShape"><i><code><span data-if="hdevelop" style="display:inline">MaskShape</span><span data-if="c" style="display:none">MaskShape</span><span data-if="cpp" style="display:none">MaskShape</span><span data-if="com" style="display:none">MaskShape</span><span data-if="dotnet" style="display:none">maskShape</span><span data-if="python" style="display:none">mask_shape</span></code></i></a>.
The mask's offset values are 0 and its horizontal and vertical size is
defined by <a href="#MaskHeight"><i><code><span data-if="hdevelop" style="display:inline">MaskHeight</span><span data-if="c" style="display:none">MaskHeight</span><span data-if="cpp" style="display:none">MaskHeight</span><span data-if="com" style="display:none">MaskHeight</span><span data-if="dotnet" style="display:none">maskHeight</span><span data-if="python" style="display:none">mask_height</span></code></i></a> and <a href="#MaskWidth"><i><code><span data-if="hdevelop" style="display:inline">MaskWidth</span><span data-if="c" style="display:none">MaskWidth</span><span data-if="cpp" style="display:none">MaskWidth</span><span data-if="com" style="display:none">MaskWidth</span><span data-if="dotnet" style="display:none">maskWidth</span><span data-if="python" style="display:none">mask_width</span></code></i></a>. The resulting image
is returned in <a href="#ImageClosing"><i><code><span data-if="hdevelop" style="display:inline">ImageClosing</span><span data-if="c" style="display:none">ImageClosing</span><span data-if="cpp" style="display:none">ImageClosing</span><span data-if="com" style="display:none">ImageClosing</span><span data-if="dotnet" style="display:none">imageClosing</span><span data-if="python" style="display:none">image_closing</span></code></i></a>.
</p>
<p>If the parameters <a href="#MaskHeight"><i><code><span data-if="hdevelop" style="display:inline">MaskHeight</span><span data-if="c" style="display:none">MaskHeight</span><span data-if="cpp" style="display:none">MaskHeight</span><span data-if="com" style="display:none">MaskHeight</span><span data-if="dotnet" style="display:none">maskHeight</span><span data-if="python" style="display:none">mask_height</span></code></i></a> or <a href="#MaskWidth"><i><code><span data-if="hdevelop" style="display:inline">MaskWidth</span><span data-if="c" style="display:none">MaskWidth</span><span data-if="cpp" style="display:none">MaskWidth</span><span data-if="com" style="display:none">MaskWidth</span><span data-if="dotnet" style="display:none">maskWidth</span><span data-if="python" style="display:none">mask_width</span></code></i></a> are of the
type integer and are even, they are changed to the next larger odd value.
In contrast, if at least one of the two parameters is of the type float, the
input image <a href="#Image"><i><code><span data-if="hdevelop" style="display:inline">Image</span><span data-if="c" style="display:none">Image</span><span data-if="cpp" style="display:none">Image</span><span data-if="com" style="display:none">Image</span><span data-if="dotnet" style="display:none">image</span><span data-if="python" style="display:none">image</span></code></i></a> is transformed with both the next larger and
the next smaller odd mask size, and the output image <a href="#ImageClosing"><i><code><span data-if="hdevelop" style="display:inline">ImageClosing</span><span data-if="c" style="display:none">ImageClosing</span><span data-if="cpp" style="display:none">ImageClosing</span><span data-if="com" style="display:none">ImageClosing</span><span data-if="dotnet" style="display:none">imageClosing</span><span data-if="python" style="display:none">image_closing</span></code></i></a>
is interpolated from the two intermediate images. Therefore, note that
<code><span data-if="hdevelop" style="display:inline">gray_closing_shape</span><span data-if="c" style="display:none">gray_closing_shape</span><span data-if="cpp" style="display:none">GrayClosingShape</span><span data-if="com" style="display:none">GrayClosingShape</span><span data-if="dotnet" style="display:none">GrayClosingShape</span><span data-if="python" style="display:none">gray_closing_shape</span></code> returns different results for mask sizes of,
e.g., <i>4</i> and <i>4.0</i>!
</p>
<p>In case of the values
'rhombus' and 'octagon' for the <a href="#MaskShape"><i><code><span data-if="hdevelop" style="display:inline">MaskShape</span><span data-if="c" style="display:none">MaskShape</span><span data-if="cpp" style="display:none">MaskShape</span><span data-if="com" style="display:none">MaskShape</span><span data-if="dotnet" style="display:none">maskShape</span><span data-if="python" style="display:none">mask_shape</span></code></i></a> control parameter,
<a href="#MaskHeight"><i><code><span data-if="hdevelop" style="display:inline">MaskHeight</span><span data-if="c" style="display:none">MaskHeight</span><span data-if="cpp" style="display:none">MaskHeight</span><span data-if="com" style="display:none">MaskHeight</span><span data-if="dotnet" style="display:none">maskHeight</span><span data-if="python" style="display:none">mask_height</span></code></i></a> and <a href="#MaskWidth"><i><code><span data-if="hdevelop" style="display:inline">MaskWidth</span><span data-if="c" style="display:none">MaskWidth</span><span data-if="cpp" style="display:none">MaskWidth</span><span data-if="com" style="display:none">MaskWidth</span><span data-if="dotnet" style="display:none">maskWidth</span><span data-if="python" style="display:none">mask_width</span></code></i></a> must be equal. The parameter
value 'octagon' for <a href="#MaskShape"><i><code><span data-if="hdevelop" style="display:inline">MaskShape</span><span data-if="c" style="display:none">MaskShape</span><span data-if="cpp" style="display:none">MaskShape</span><span data-if="com" style="display:none">MaskShape</span><span data-if="dotnet" style="display:none">maskShape</span><span data-if="python" style="display:none">mask_shape</span></code></i></a> denotes an equilateral octagonal
mask which is a suitable approximation for a circular structure.
At the border of the image the gray values are mirrored.
</p>
<p>The gray value closing of an image i with a structuring element
s is defined as
<span title="1" class="displaymath"><!-- Created by MetaPost 1.902 on 2023.05.15:2033 --><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="8.46677em" height="1.12127em" viewBox="0 0 135.468353 17.940399">
<!-- Original BoundingBox: -67.734177 -8.970200 67.734177 8.970200 -->
  <defs>
    <g transform="scale(0.009963,0.009963)" id="GLYPHcmr10_40">
      <path style="fill-rule: evenodd;" d="M331.000000 240.000000C331.000000 237.000000,331.000000 235.000000,314.000000 218.000000C189.000000 92.000000,157.000000 -97.000000,157.000000 -250.000000C157.000000 -424.000000,195.000000 -598.000000,318.000000 -723.000000C331.000000 -735.000000,331.000000 -737.000000,331.000000 -740.000000C331.000000 -747.000000,327.000000 -750.000000,321.000000 -750.000000C311.000000 -750.000000,221.000000 -682.000000,162.000000 -555.000000C111.000000 -445.000000,99.000000 -334.000000,99.000000 -250.000000C99.000000 -172.000000,110.000000 -51.000000,165.000000 62.000000C225.000000 185.000000,311.000000 250.000000,321.000000 250.000000C327.000000 250.000000,331.000000 247.000000,331.000000 240.000000"></path>
    </g>
    <g transform="scale(0.009963,0.009963)" id="GLYPHcmr10_41">
      <path style="fill-rule: evenodd;" d="M289.000000 -250.000000C289.000000 -328.000000,278.000000 -449.000000,223.000000 -562.000000C163.000000 -685.000000,77.000000 -750.000000,67.000000 -750.000000C61.000000 -750.000000,57.000000 -746.000000,57.000000 -740.000000C57.000000 -737.000000,57.000000 -735.000000,76.000000 -717.000000C174.000000 -618.000000,231.000000 -459.000000,231.000000 -250.000000C231.000000 -79.000000,194.000000 97.000000,70.000000 223.000000C57.000000 235.000000,57.000000 237.000000,57.000000 240.000000C57.000000 246.000000,61.000000 250.000000,67.000000 250.000000C77.000000 250.000000,167.000000 182.000000,226.000000 55.000000C277.000000 -55.000000,289.000000 -166.000000,289.000000 -250.000000"></path>
    </g>
    <g transform="scale(0.009963,0.009963)" id="GLYPHcmr10_61">
      <path style="fill-rule: evenodd;" d="M687.000000 -327.000000C702.000000 -327.000000,721.000000 -327.000000,721.000000 -347.000000C721.000000 -367.000000,702.000000 -367.000000,688.000000 -367.000000L89.000000 -367.000000C75.000000 -367.000000,56.000000 -367.000000,56.000000 -347.000000C56.000000 -327.000000,75.000000 -327.000000,90.000000 -327.000000M688.000000 -133.000000C702.000000 -133.000000,721.000000 -133.000000,721.000000 -153.000000C721.000000 -173.000000,702.000000 -173.000000,687.000000 -173.000000L90.000000 -173.000000C75.000000 -173.000000,56.000000 -173.000000,56.000000 -153.000000C56.000000 -133.000000,75.000000 -133.000000,89.000000 -133.000000"></path>
    </g>
    <g transform="scale(0.009963,0.009963)" id="GLYPHcmsy10_8">
      <path style="fill-rule: evenodd;" d="M722.000000 -250.000000C722.000000 -434.000000,572.000000 -583.000000,389.000000 -583.000000C203.000000 -583.000000,55.000000 -432.000000,55.000000 -250.000000C55.000000 -66.000000,205.000000 83.000000,388.000000 83.000000C574.000000 83.000000,722.000000 -68.000000,722.000000 -250.000000M80.000000 -263.000000C90.000000 -431.000000,220.000000 -550.000000,376.000000 -558.000000L376.000000 -263.000000M401.000000 -558.000000C558.000000 -550.000000,687.000000 -430.000000,697.000000 -263.000000L401.000000 -263.000000M376.000000 58.000000C221.000000 50.000000,90.000000 -67.000000,80.000000 -238.000000L376.000000 -238.000000M697.000000 -238.000000C687.000000 -67.000000,555.000000 50.000000,401.000000 58.000000L401.000000 -238.000000"></path>
    </g>
    <g transform="scale(0.009963,0.009963)" id="GLYPHcmsy10_9">
      <path style="fill-rule: evenodd;" d="M722.000000 -250.000000C722.000000 -434.000000,572.000000 -583.000000,389.000000 -583.000000C203.000000 -583.000000,55.000000 -432.000000,55.000000 -250.000000C55.000000 -66.000000,205.000000 83.000000,388.000000 83.000000C574.000000 83.000000,722.000000 -68.000000,722.000000 -250.000000M80.000000 -263.000000C90.000000 -441.000000,235.000000 -558.000000,388.000000 -558.000000C545.000000 -558.000000,687.000000 -439.000000,697.000000 -263.000000M697.000000 -238.000000C687.000000 -56.000000,540.000000 58.000000,389.000000 58.000000C234.000000 58.000000,90.000000 -59.000000,80.000000 -238.000000"></path>
    </g>
    <g transform="scale(0.009963,0.009963)" id="GLYPHcmsy10_15">
      <path style="fill-rule: evenodd;" d="M444.000000 -250.000000C444.000000 -357.000000,355.000000 -444.000000,250.000000 -444.000000C142.000000 -444.000000,55.000000 -355.000000,55.000000 -250.000000C55.000000 -144.000000,142.000000 -56.000000,250.000000 -56.000000C355.000000 -56.000000,444.000000 -143.000000,444.000000 -250.000000"></path>
    </g>
    <g transform="scale(0.009963,0.009963)" id="GLYPHcmmi10_59">
      <path style="fill-rule: evenodd;" d="M203.000000 -1.000000C203.000000 -67.000000,178.000000 -106.000000,139.000000 -106.000000C106.000000 -106.000000,86.000000 -81.000000,86.000000 -53.000000C86.000000 -26.000000,106.000000 -0.000000,139.000000 -0.000000C151.000000 -0.000000,164.000000 -4.000000,174.000000 -13.000000C177.000000 -15.000000,178.000000 -16.000000,179.000000 -16.000000C180.000000 -16.000000,181.000000 -15.000000,181.000000 -1.000000C181.000000 73.000000,146.000000 133.000000,113.000000 166.000000C102.000000 177.000000,102.000000 179.000000,102.000000 182.000000C102.000000 189.000000,107.000000 193.000000,112.000000 193.000000C123.000000 193.000000,203.000000 116.000000,203.000000 -1.000000"></path>
    </g>
    <g transform="scale(0.009963,0.009963)" id="GLYPHcmmi10_105">
      <path style="fill-rule: evenodd;" d="M284.000000 -625.000000C284.000000 -645.000000,270.000000 -661.000000,247.000000 -661.000000C220.000000 -661.000000,193.000000 -635.000000,193.000000 -608.000000C193.000000 -589.000000,207.000000 -572.000000,231.000000 -572.000000C254.000000 -572.000000,284.000000 -595.000000,284.000000 -625.000000M208.000000 -249.000000C220.000000 -278.000000,220.000000 -280.000000,230.000000 -307.000000C238.000000 -327.000000,243.000000 -341.000000,243.000000 -360.000000C243.000000 -405.000000,211.000000 -442.000000,161.000000 -442.000000C67.000000 -442.000000,29.000000 -297.000000,29.000000 -288.000000C29.000000 -278.000000,39.000000 -278.000000,41.000000 -278.000000C51.000000 -278.000000,52.000000 -280.000000,57.000000 -296.000000C84.000000 -390.000000,124.000000 -420.000000,158.000000 -420.000000C166.000000 -420.000000,183.000000 -420.000000,183.000000 -388.000000C183.000000 -367.000000,176.000000 -346.000000,172.000000 -336.000000C164.000000 -310.000000,119.000000 -194.000000,103.000000 -151.000000C93.000000 -125.000000,80.000000 -92.000000,80.000000 -71.000000C80.000000 -24.000000,114.000000 11.000000,162.000000 11.000000C256.000000 11.000000,293.000000 -134.000000,293.000000 -143.000000C293.000000 -153.000000,284.000000 -153.000000,281.000000 -153.000000C271.000000 -153.000000,271.000000 -150.000000,266.000000 -135.000000C248.000000 -72.000000,215.000000 -11.000000,164.000000 -11.000000C147.000000 -11.000000,140.000000 -21.000000,140.000000 -44.000000C140.000000 -69.000000,146.000000 -83.000000,169.000000 -144.000000"></path>
    </g>
    <g transform="scale(0.009963,0.009963)" id="GLYPHcmmi10_115">
      <path style="fill-rule: evenodd;" d="M391.000000 -374.000000C363.000000 -373.000000,343.000000 -351.000000,343.000000 -329.000000C343.000000 -315.000000,352.000000 -300.000000,374.000000 -300.000000C396.000000 -300.000000,420.000000 -317.000000,420.000000 -356.000000C420.000000 -401.000000,377.000000 -442.000000,301.000000 -442.000000C169.000000 -442.000000,132.000000 -340.000000,132.000000 -296.000000C132.000000 -218.000000,206.000000 -203.000000,235.000000 -197.000000C287.000000 -187.000000,339.000000 -176.000000,339.000000 -121.000000C339.000000 -95.000000,316.000000 -11.000000,196.000000 -11.000000C182.000000 -11.000000,105.000000 -11.000000,82.000000 -64.000000C120.000000 -59.000000,145.000000 -89.000000,145.000000 -117.000000C145.000000 -140.000000,129.000000 -152.000000,108.000000 -152.000000C82.000000 -152.000000,52.000000 -131.000000,52.000000 -86.000000C52.000000 -29.000000,109.000000 11.000000,195.000000 11.000000C357.000000 11.000000,396.000000 -110.000000,396.000000 -155.000000C396.000000 -191.000000,377.000000 -216.000000,365.000000 -228.000000C338.000000 -256.000000,309.000000 -261.000000,265.000000 -270.000000C229.000000 -278.000000,189.000000 -285.000000,189.000000 -330.000000C189.000000 -359.000000,213.000000 -420.000000,301.000000 -420.000000C326.000000 -420.000000,376.000000 -413.000000,391.000000 -374.000000"></path>
    </g>
  </defs>
  <g transform="matrix(1.600006,-0.000000,-0.000000,1.600006,0.265823 11.985046)" style="fill: rgb(0.000000%,0.000000%,0.000000%);">
    <use xlink:href="#GLYPHcmmi10_105"></use>
  </g>
  <g transform="matrix(1.600006,-0.000000,-0.000000,1.600006,9.299622 11.985046)" style="fill: rgb(0.000000%,0.000000%,0.000000%);">
    <use xlink:href="#GLYPHcmsy10_15"></use>
  </g>
  <g transform="matrix(1.600006,-0.000000,-0.000000,1.600006,20.811966 11.985046)" style="fill: rgb(0.000000%,0.000000%,0.000000%);">
    <use xlink:href="#GLYPHcmmi10_115"></use>
  </g>
  <g transform="matrix(1.600006,-0.000000,-0.000000,1.600006,32.711700 11.985046)" style="fill: rgb(0.000000%,0.000000%,0.000000%);">
    <use xlink:href="#GLYPHcmr10_61"></use>
  </g>
  <g transform="matrix(1.600006,-0.000000,-0.000000,1.600006,49.537521 11.985046)" style="fill: rgb(0.000000%,0.000000%,0.000000%);">
    <use xlink:href="#GLYPHcmr10_40"></use>
  </g>
  <g transform="matrix(1.600006,-0.000000,-0.000000,1.600006,55.736588 11.985046)" style="fill: rgb(0.000000%,0.000000%,0.000000%);">
    <use xlink:href="#GLYPHcmmi10_105"></use>
  </g>
  <g transform="matrix(1.600006,-0.000000,-0.000000,1.600006,64.770386 11.985046)" style="fill: rgb(0.000000%,0.000000%,0.000000%);">
    <use xlink:href="#GLYPHcmsy10_8"></use>
  </g>
  <g transform="matrix(1.600006,-0.000000,-0.000000,1.600006,80.710617 11.985046)" style="fill: rgb(0.000000%,0.000000%,0.000000%);">
    <use xlink:href="#GLYPHcmmi10_115"></use>
  </g>
  <g transform="matrix(1.600006,-0.000000,-0.000000,1.600006,88.182632 11.985046)" style="fill: rgb(0.000000%,0.000000%,0.000000%);">
    <use xlink:href="#GLYPHcmr10_41"></use>
  </g>
  <g transform="matrix(1.600006,-0.000000,-0.000000,1.600006,97.923965 11.985046)" style="fill: rgb(0.000000%,0.000000%,0.000000%);">
    <use xlink:href="#GLYPHcmsy10_9"></use>
  </g>
  <g transform="matrix(1.600006,-0.000000,-0.000000,1.600006,113.864182 11.985046)" style="fill: rgb(0.000000%,0.000000%,0.000000%);">
    <use xlink:href="#GLYPHcmmi10_115"></use>
  </g>
  <g transform="matrix(1.600006,-0.000000,-0.000000,1.600006,129.306305 11.985046)" style="fill: rgb(0.000000%,0.000000%,0.000000%);">
    <use xlink:href="#GLYPHcmmi10_59"></use>
  </g>
</svg></span>
i.e., a dilation of the image with s followed by an erosion with
s (see <a href="gray_dilation_shape.html"><code><span data-if="hdevelop" style="display:inline">gray_dilation_shape</span><span data-if="c" style="display:none">gray_dilation_shape</span><span data-if="cpp" style="display:none">GrayDilationShape</span><span data-if="com" style="display:none">GrayDilationShape</span><span data-if="dotnet" style="display:none">GrayDilationShape</span><span data-if="python" style="display:none">gray_dilation_shape</span></code></a> and <a href="gray_erosion_shape.html"><code><span data-if="hdevelop" style="display:inline">gray_erosion_shape</span><span data-if="c" style="display:none">gray_erosion_shape</span><span data-if="cpp" style="display:none">GrayErosionShape</span><span data-if="com" style="display:none">GrayErosionShape</span><span data-if="dotnet" style="display:none">GrayErosionShape</span><span data-if="python" style="display:none">gray_erosion_shape</span></code></a>).</p>
<h2 id="sec_attention">注意</h2>
<p>Note that <code><span data-if="hdevelop" style="display:inline">gray_closing_shape</span><span data-if="c" style="display:none">gray_closing_shape</span><span data-if="cpp" style="display:none">GrayClosingShape</span><span data-if="com" style="display:none">GrayClosingShape</span><span data-if="dotnet" style="display:none">GrayClosingShape</span><span data-if="python" style="display:none">gray_closing_shape</span></code> requires considerably more time for
mask sizes of type float than for mask sizes of type integer. This is
especially true for rectangular masks with different width and height!
</p>
<p><code><span data-if="hdevelop" style="display:inline">gray_closing_shape</span><span data-if="c" style="display:none">gray_closing_shape</span><span data-if="cpp" style="display:none">GrayClosingShape</span><span data-if="com" style="display:none">GrayClosingShape</span><span data-if="dotnet" style="display:none">GrayClosingShape</span><span data-if="python" style="display:none">gray_closing_shape</span></code> can be executed on OpenCL devices. In case of
mask sizes of type float the result can vary slightly from the CPU as the
interpolation is calculated in single precision on the OpenCL device.
</p>
<p>Note that filter operators may return unexpected results if
an image with a reduced domain is used as input. Please refer to the
chapter <a href="toc_filters.html">过滤器</a>.</p>
<h2 id="sec_execution">运行信息</h2>
<ul>
    
      <li>支持OpenCL计算设备。</li>
    
  <li>多线程类型:可重入(与非独占操作符并行运行)。</li>
<li>多线程作用域:全局(可以从任何线程调用)。</li>
  
    <li>在元组级别自动并行化。</li>
    <li>在图像通道级别自动并行化。</li>
    <li>Automatically parallelized on  domain level.</li>
  
</ul>
<h2 id="sec_parameters">参数表</h2>
  <div class="par">
<div class="parhead">
<span id="Image" class="parname"><b><code><span data-if="hdevelop" style="display:inline">Image</span><span data-if="c" style="display:none">Image</span><span data-if="cpp" style="display:none">Image</span><span data-if="com" style="display:none">Image</span><span data-if="dotnet" style="display:none">image</span><span data-if="python" style="display:none">image</span></code></b> (input_object)  </span><span>(multichannel-)image(-array) <code>→</code> <span data-if="hdevelop" style="display:inline">object</span><span data-if="dotnet" style="display:none"><a href="HImage.html">HImage</a></span><span data-if="python" style="display:none">HObject</span><span data-if="cpp" style="display:none"><a href="HImage.html">HImage</a></span><span data-if="c" style="display:none">Hobject</span> (byte* / uint2*)<i> *allowed for compute devices</i></span>
</div>
<p class="pardesc">Image for which the minimum gray values are to
be calculated.</p>
</div>
  <div class="par">
<div class="parhead">
<span id="ImageClosing" class="parname"><b><code><span data-if="hdevelop" style="display:inline">ImageClosing</span><span data-if="c" style="display:none">ImageClosing</span><span data-if="cpp" style="display:none">ImageClosing</span><span data-if="com" style="display:none">ImageClosing</span><span data-if="dotnet" style="display:none">imageClosing</span><span data-if="python" style="display:none">image_closing</span></code></b> (output_object)  </span><span>(multichannel-)image(-array) <code>→</code> <span data-if="hdevelop" style="display:inline">object</span><span data-if="dotnet" style="display:none"><a href="HImage.html">HImage</a></span><span data-if="python" style="display:none">HObject</span><span data-if="cpp" style="display:none"><a href="HImage.html">HImage</a></span><span data-if="c" style="display:none">Hobject *</span> (byte / uint2)</span>
</div>
<p class="pardesc">Image containing the minimum gray values.</p>
</div>
  <div class="par">
<div class="parhead">
<span id="MaskHeight" class="parname"><b><code><span data-if="hdevelop" style="display:inline">MaskHeight</span><span data-if="c" style="display:none">MaskHeight</span><span data-if="cpp" style="display:none">MaskHeight</span><span data-if="com" style="display:none">MaskHeight</span><span data-if="dotnet" style="display:none">maskHeight</span><span data-if="python" style="display:none">mask_height</span></code></b> (input_control)  </span><span>extent.y <code>→</code> <span data-if="dotnet" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="python" style="display:none">Union[int, float]</span><span data-if="cpp" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="c" style="display:none">Htuple</span><span data-if="hdevelop" style="display:inline"> (real / </span><span data-if="hdevelop" style="display:inline">integer)</span><span data-if="dotnet" style="display:none"> (<i>double</i> / </span><span data-if="dotnet" style="display:none">int / </span><span data-if="dotnet" style="display:none">long)</span><span data-if="cpp" style="display:none"> (<i>double</i> / </span><span data-if="cpp" style="display:none">Hlong)</span><span data-if="c" style="display:none"> (<i>double</i> / </span><span data-if="c" style="display:none">Hlong)</span></span>
</div>
<p class="pardesc">Height of the filter mask.</p>
<p class="pardesc"><span class="parcat">Default:
      </span>11</p>
<p class="pardesc"><span class="parcat">Suggested values:
      </span>3, 5, 7, 9, 11, 13, 15</p>
<p class="pardesc"><span class="parcat">Value range:
      </span><code>1.0
          ≤
        
    <span data-if="hdevelop" style="display:inline">MaskHeight</span>
    <span data-if="c" style="display:none">MaskHeight</span>
    <span data-if="cpp" style="display:none">MaskHeight</span>
    <span data-if="com" style="display:none">MaskHeight</span>
    <span data-if="dotnet" style="display:none">maskHeight</span>
    <span data-if="python" style="display:none">mask_height</span>
    
          ≤
          511.0</code></p>
</div>
  <div class="par">
<div class="parhead">
<span id="MaskWidth" class="parname"><b><code><span data-if="hdevelop" style="display:inline">MaskWidth</span><span data-if="c" style="display:none">MaskWidth</span><span data-if="cpp" style="display:none">MaskWidth</span><span data-if="com" style="display:none">MaskWidth</span><span data-if="dotnet" style="display:none">maskWidth</span><span data-if="python" style="display:none">mask_width</span></code></b> (input_control)  </span><span>extent.x <code>→</code> <span data-if="dotnet" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="python" style="display:none">Union[int, float]</span><span data-if="cpp" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="c" style="display:none">Htuple</span><span data-if="hdevelop" style="display:inline"> (real / </span><span data-if="hdevelop" style="display:inline">integer)</span><span data-if="dotnet" style="display:none"> (<i>double</i> / </span><span data-if="dotnet" style="display:none">int / </span><span data-if="dotnet" style="display:none">long)</span><span data-if="cpp" style="display:none"> (<i>double</i> / </span><span data-if="cpp" style="display:none">Hlong)</span><span data-if="c" style="display:none"> (<i>double</i> / </span><span data-if="c" style="display:none">Hlong)</span></span>
</div>
<p class="pardesc">Width of the filter mask.</p>
<p class="pardesc"><span class="parcat">Default:
      </span>11</p>
<p class="pardesc"><span class="parcat">Suggested values:
      </span>3, 5, 7, 9, 11, 13, 15</p>
<p class="pardesc"><span class="parcat">Value range:
      </span><code>1.0
          ≤
        
    <span data-if="hdevelop" style="display:inline">MaskWidth</span>
    <span data-if="c" style="display:none">MaskWidth</span>
    <span data-if="cpp" style="display:none">MaskWidth</span>
    <span data-if="com" style="display:none">MaskWidth</span>
    <span data-if="dotnet" style="display:none">maskWidth</span>
    <span data-if="python" style="display:none">mask_width</span>
    
          ≤
          511.0</code></p>
</div>
  <div class="par">
<div class="parhead">
<span id="MaskShape" class="parname"><b><code><span data-if="hdevelop" style="display:inline">MaskShape</span><span data-if="c" style="display:none">MaskShape</span><span data-if="cpp" style="display:none">MaskShape</span><span data-if="com" style="display:none">MaskShape</span><span data-if="dotnet" style="display:none">maskShape</span><span data-if="python" style="display:none">mask_shape</span></code></b> (input_control)  </span><span>string <code>→</code> <span data-if="dotnet" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="python" style="display:none">str</span><span data-if="cpp" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="c" style="display:none">Htuple</span><span data-if="hdevelop" style="display:inline"> (string)</span><span data-if="dotnet" style="display:none"> (<i>string</i>)</span><span data-if="cpp" style="display:none"> (<i>HString</i>)</span><span data-if="c" style="display:none"> (<i>char*</i>)</span></span>
</div>
<p class="pardesc">Shape of the mask.</p>
<p class="pardesc"><span class="parcat">Default:
      </span>
    <span data-if="hdevelop" style="display:inline">'octagon'</span>
    <span data-if="c" style="display:none">"octagon"</span>
    <span data-if="cpp" style="display:none">"octagon"</span>
    <span data-if="com" style="display:none">"octagon"</span>
    <span data-if="dotnet" style="display:none">"octagon"</span>
    <span data-if="python" style="display:none">"octagon"</span>
</p>
<p class="pardesc"><span class="parcat">List of values:
      </span><span data-if="hdevelop" style="display:inline">'octagon'</span><span data-if="c" style="display:none">"octagon"</span><span data-if="cpp" style="display:none">"octagon"</span><span data-if="com" style="display:none">"octagon"</span><span data-if="dotnet" style="display:none">"octagon"</span><span data-if="python" style="display:none">"octagon"</span>, <span data-if="hdevelop" style="display:inline">'rectangle'</span><span data-if="c" style="display:none">"rectangle"</span><span data-if="cpp" style="display:none">"rectangle"</span><span data-if="com" style="display:none">"rectangle"</span><span data-if="dotnet" style="display:none">"rectangle"</span><span data-if="python" style="display:none">"rectangle"</span>, <span data-if="hdevelop" style="display:inline">'rhombus'</span><span data-if="c" style="display:none">"rhombus"</span><span data-if="cpp" style="display:none">"rhombus"</span><span data-if="com" style="display:none">"rhombus"</span><span data-if="dotnet" style="display:none">"rhombus"</span><span data-if="python" style="display:none">"rhombus"</span></p>
</div>
<h2 id="sec_result">结果</h2>
<p><code><span data-if="hdevelop" style="display:inline">gray_closing_shape</span><span data-if="c" style="display:none">gray_closing_shape</span><span data-if="cpp" style="display:none">GrayClosingShape</span><span data-if="com" style="display:none">GrayClosingShape</span><span data-if="dotnet" style="display:none">GrayClosingShape</span><span data-if="python" style="display:none">gray_closing_shape</span></code> returns <TT>2</TT> (
      <TT>H_MSG_TRUE</TT>)
     if all
parameters are correct.</p>
<h2 id="sec_alternatives">可替代算子</h2>
<p>
<code><a href="gray_closing.html"><span data-if="hdevelop" style="display:inline">gray_closing</span><span data-if="c" style="display:none">gray_closing</span><span data-if="cpp" style="display:none">GrayClosing</span><span data-if="com" style="display:none">GrayClosing</span><span data-if="dotnet" style="display:none">GrayClosing</span><span data-if="python" style="display:none">gray_closing</span></a></code>
</p>
<h2 id="sec_see">参考其它</h2>
<p>
<code><a href="gray_dilation_shape.html"><span data-if="hdevelop" style="display:inline">gray_dilation_shape</span><span data-if="c" style="display:none">gray_dilation_shape</span><span data-if="cpp" style="display:none">GrayDilationShape</span><span data-if="com" style="display:none">GrayDilationShape</span><span data-if="dotnet" style="display:none">GrayDilationShape</span><span data-if="python" style="display:none">gray_dilation_shape</span></a></code>, 
<code><a href="gray_erosion_shape.html"><span data-if="hdevelop" style="display:inline">gray_erosion_shape</span><span data-if="c" style="display:none">gray_erosion_shape</span><span data-if="cpp" style="display:none">GrayErosionShape</span><span data-if="com" style="display:none">GrayErosionShape</span><span data-if="dotnet" style="display:none">GrayErosionShape</span><span data-if="python" style="display:none">gray_erosion_shape</span></a></code>, 
<code><a href="closing.html"><span data-if="hdevelop" style="display:inline">closing</span><span data-if="c" style="display:none">closing</span><span data-if="cpp" style="display:none">Closing</span><span data-if="com" style="display:none">Closing</span><span data-if="dotnet" style="display:none">Closing</span><span data-if="python" style="display:none">closing</span></a></code>
</p>
<h2 id="sec_module">模块</h2>
<p>
Foundation</p>
<!--OP_REF_FOOTER_START-->
<hr>
<div class="indexlink">
<a href="index_classes.html"><span data-if="dotnet" style="display:none;">类别</span><span data-if="cpp" style="display:none;">类别</span></a><span data-if="dotnet" style="display:none;"> | </span><span data-if="cpp" style="display:none;"> | </span><a href="index_by_name.html">算子列表</a>
</div>
<div class="footer">
<div class="copyright">HALCON算子参考手册 Copyright © 2015-2023 51Halcon</div>
</div>
</div>
</body>
</html>
